
/title Elektrostatische Simulation 3D
/TITLE, VM169, PERMANENT MAGNET CIRCUIT WITH AN AIR GAP

/PREP7

!**************	Definition of Constants     *****************************************

EMUNIT,MKS

!**************	Model Import *************************

~PARAIN,Plattenkondensator0,x_t,'.\Geometrie\3D\Plattenkondensator\',SOLIDS,0,0  
/NOPR   
/GO 


!************************************************************************************
!**************	Definiton of the electrostatic physics file *************************
!************************************************************************************

!**************	Elements     *****************************************
	               	
ET,1,SOLID226,1001				! Elements for kapton spacer					  	


!**************	Material Definitions  *************************

MP,PRXY,1,0.3			! Poison ratio for kapton
MP,PERX,1,1			! Relative permability of kapton


MP,EX,1,2.5e9			! E-Modul fuer Kapton
MP,EY,1,2.5e9			! E-Modul fuer Kapton
MP,EZ,1,2.5e9			! E-Modul fuer Kapton


VSEL,S,,,1
VATT,1				! Kapton foil


!**************	Meshing	 *************************


VSEL,ALL

ESIZE,0.0001,0, 
MSHAPE,0,3D 
MSHKEY,1			


VMESH,ALL


!************** Boundary Conditions And Loads *************************

!**** Electical boundary conditions for calculating capacitance **********************+

ASEL,S,,,6
NSLA,S,1
CM,CON1,NODE			! Gatter lower electrodes to a component


ASEL,S,,,5
NSLA,S,1
CM,CON2,NODE			! Gatter upper electrodes to a component
 

!**** Mechanical boundary conditions  **********************

ALLSEL,ALL

!SFA,5,,PRES,6e7			! Specify pressure trough screw force ( equals 0.1 N on a surface of 4mm^2 )

!DA,5,UX,0
!DA,5,UY,-20e-6
!DA,5,UX,0


DA,6,UX,0				! Fixate bottom
DA,6,UY,0				! Fixate bottom
DA,6,UZ,0				! Fixate bottom

FINISH

!***********************************************************************************
!************** Solution ***********************************************************
!***********************************************************************************
/SOLU

solve

CMATRIX,1,'CON',2,0                ! CALCULATE CAPACITANCE USING CMATRIX MACRO

/eof
